ioemu: Share framebuffer between VGA device model and VNC server.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 20 Feb 2008 17:47:58 +0000 (17:47 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 20 Feb 2008 17:47:58 +0000 (17:47 +0000)
commit7ffbeb40de73d3facdadfc27b96b3795970a2069
tree1919992917cf74382d82c4559a9b4e6fd298f717
parent0d8ead89fa574c9f1bdd43df51dcd2cf4f71f229
ioemu: Share framebuffer between VGA device model and VNC server.

Now that the qemu WMVi patch is applied we can take full advantage of
it sharing the video buffer between the vga driver and the qemu vnc
server. This saves a lot of memcpy. It's worth mentioning again that
when the guest colour depth is 24 bit we cannot share the buffer
because 24 bpp is not supported by the vnc protocol, so we still have
to do the translation 24 bpp -> 32 bpp.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/ioemu/hw/vga.c
tools/ioemu/vl.h
tools/ioemu/vnc.c